﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>Q8 Cars Admin Panel</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <nav>
                <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home", new { Area = "" }, new { })</li>                    
                    <li>@Html.ActionLink("Companies", "Index", "Company", new { Area = "" }, new { })</li>                    
                    <li>@Html.ActionLink("Company Types", "Index", "CompanyType", new { Area = "" }, new { })</li>                    
                    <li>@Html.ActionLink("Rent", "Index", "Rent", new { Area = "" }, new { })</li>    
                    <li>@Html.ActionLink("Sell", "Index", "Sell", new { Area = "" }, new { })</li>    

                    <li>@Html.ActionLink("Vehicles Categories", "Index", "VehicleCategory", new { Area = "" }, new { })</li>    
                    <li>@Html.ActionLink("Vehicles Brands", "Index", "VehicleBrand", new { Area = "" }, new { })</li>    

                    
                    @if (Roles.IsUserInRole("admin"))
                    {         
                       @* <li>@Html.ActionLink("User Administration", "Index", "UserAdministration", new { Area = "UserAdministration" }, new { }) </li>*@
                    }
                    
                </ul>
            </nav>
        </header>
        <section id="main">
            @RenderBody()
        </section>
        <footer>
        </footer>
    </div>
</body>
</html>
